package com.ndp.fb.walle.business;

import com.ndp.fb.rulescript.model.OptLogBo;
import com.ndp.fb.rulescript.model.OptRecordBo;
import com.ndp.fb.walle.model.vo.ruleresult.param.RuleExecuteVoParam;

import java.util.List;

/**
 * Created by jacky.cheng on 2015/7/18.
 */
public interface RuleResultService {
    /**
     * 更新优化记录
     * @param optLogBo
     */
    void updateRuleResult(OptLogBo optLogBo);


    /**
     * 更新ad
     * @param adGroupId
     * @param status
     * @param opt
     * @param userTicket
     * @return
     */
     OptRecordBo updateAdGroup(Long adGroupId, String status, RuleExecuteVoParam opt, String userTicket);

    /**
     * 更新广告系列
     * @param opt
     * @param userTicket
     * @return opt records
     */
    List<OptRecordBo> updateAdSet(RuleExecuteVoParam opt, String userTicket);
}
